package com.usefullc.user.param;

import com.usefullc.common.domain.BaseDomain;
import com.usefullc.common.enums.ValidTypeEnum;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("用户登录参数")
@Data
public class UserLoginByBindParam extends BaseDomain {

    @UsefulPropertyVerify(minLen = 2,maxLen = 100)
    @ApiModelProperty(notes = "设备号ID",required = true)
    private String deviceId;

//    @ApiModelProperty(notes = "登录类型(详见枚举 LoginTypeEnum)",required = true)
//    private Integer loginType;

//    @ApiModelProperty(notes = "验证码登录类型",required = true)
//    private Integer checkCodeType;

    @ApiModelProperty(notes = "第三方类型（详见 OuterUserBindTypeEnum）",required = true)
    private Integer bindType;

    @ApiModelProperty(notes = "OpenId")
    private String openId;

    @ApiModelProperty(notes = "编码")
    private String code;

    @UsefulPropertyVerify
    @ApiModelProperty(notes = "头像")
    private String avatar;

    @UsefulPropertyVerify
    @ApiModelProperty(notes = "昵称")
    private String nickname;

    @UsefulPropertyVerify
    @ApiModelProperty(notes = "性别")
    private Integer gender;


}
